package com.justgame.project.service.just.mapper;

import com.justgame.project.service.api.dto.JustGameAdditionDTO;
import com.justgame.project.service.api.vo.JustGameAdditionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JustGameAdditionMapper {
    List<JustGameAdditionVO> getList(@Param("dto") JustGameAdditionDTO dto);

    int Insert(@Param("dto") JustGameAdditionDTO dto);

    int Delete(@Param("dto") JustGameAdditionDTO dto);

    int UpdateById(@Param("dto") JustGameAdditionDTO dto);

    List<String> getGameUrls(@Param("gameId") String gameId);
}
